Skip to main content

DeleteLastCharOf

Type

statement

Summary

Deletes the last char in Target.

Syntax

delete the last char of <Target>

Description

Replaces the last char in Target with the empty string.

note

It is an error if Target is the empty string.

Parameters

NameTypeDescription

Target

A string container.

Examples

variable tVar as String
put "deadliness" into tVar
delete the last char of tVar -- tVar contains "deadlines"
Thank you for your feedback!

Was this page helpful?